package com.fifth.commodity.service;

import com.fifth.commodity.vo.BrandVo;
import com.fifth.commodity.vo.DepositStatusVo;
import com.fifth.commodity.vo.DepositVo;
import com.fifth.common.pojo.dto.CommonResult;
import com.fifth.common.pojo.entity.Deposit;

public interface DepositService {
    CommonResult SelectAll(Deposit deposit);


    CommonResult DepositDelete(String id);

    CommonResult DepositInsert(Deposit deposit);

    CommonResult DepositUpdate(Deposit deposit);

    /**
     * 根据条件分页查询所有储藏方式信息
     * @param pageCurrent
     * @param pageSize
     * @param depositVo
     * @return
     */
    CommonResult findDepositCondition(Integer pageCurrent, Integer pageSize, DepositVo depositVo);

    /**
     * 查询所有储藏方式信息
     * @return
     */
    CommonResult findAllDeposit();

    /**
     * 根据id删除储藏类型
     * @param id
     * @return
     */
    CommonResult deleteDeposit(Integer id);

    /**
     * 修改审核状态
     * @param depositStatusVo
     * @return
     */
    CommonResult updateStatus(DepositStatusVo depositStatusVo);
}
